 


var $loginForm = $('.loginForm');

 

var $rememberMe = $("#rememberMe");

$loginForm.submit(function (e) {
    e.preventDefault();

    if (!$loginForm.valid()) {
        return;
    }

    if ($rememberMe.val() === "on") {
        $rememberMe.val(true);
    }


    abp.ui.setBusy(
        null,
        abp.ajax({
            contentType: abp.formex.contentTypeUrl,
            url: $loginForm.attr('action'),
            data: $loginForm.serializeFormToObject()
        }).fail(function () {
            
        })
    );
});
